#include "TerrainTile.h"

namespace BncImb {
namespace Domain {
TerrainTile::TerrainTile(
  const string& label,
  ColorType color,
  double weight)
  : BuyableTile(label, 400.0 * (weight * weight)),
  mColor(color),
  mHousePrice(500.0 * (weight * weight)),
  mRents({20.0 * (weight * weight), 40.0 * (weight * weight), 60.0 * (weight * weight), 90.0 * (weight * weight), 120.0 * (weight * weight), 140.0 * (weight * weight)}) {
} 

double TerrainTile::housePrice() const {
  return mHousePrice;
} 

int TerrainTile::houseCount() const {
  return mHouseCount;
}

ColorType TerrainTile::color() const {
  return mColor;
}
}
}